<%--
  Created by IntelliJ IDEA.
  User: 马静波
  Date: 2020/5/4
  Time: 16:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>商品信息</title>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
</head>
<body>
<div class="outer">
    <form action="http://localhost:8888/neuedu_ilearnshop_war/manager/productsku/queryProductSKUBySpecs" method="POST" enctype="multipart/form-data">
        <div class="inner">
            <label>商品分类：</label>
            <select name="categoryid">
                <option value="00">请选择商品分类</option>
                <optgroup label="手机">
                    <option value="2">华为</option>
                    <option value="3">小米</option>
                    <option value="4">三星</option>
                </optgroup>
                <optgroup label="笔记本">
                    <option value="21">联想</option>
                    <option value="22">华为</option>
                    <option value="23">华硕</option>
                </optgroup>
            </select>
        </div>
        <div class="inner">
            <label>商品名称：</label>
            <select name="productId" class="productId">
                <option value="00">请选择商品</option>
                <option value="6">华为 P40</option>
            </select>
        </div>
        <div class="inner">
            <label>商品颜色：</label>
            <!--规格标志的ID，因为颜色  就是规格：颜色，对应的内容-->
            <input type="hidden" name="specsVals[0].specsId" value="4"/>
            <select name="specsVals[0].name">
                <option value="">请选择商品颜色</option>
                <option value="2">亮黑色</option>
                <option value="3">深海蓝</option>
            </select>
        </div>
        <div class="inner">
            <label>商品内存：</label>
            <input type="hidden" name="specsVals[1].specsId" value="5"/>
            <select name="specsVals[1].name">
                <option value="">请选择商品内存</option>
                <option value="4">8G+128G</option>
                <option value="5">8G+512G</option>
            </select>
        </div>
        <div class="inner">
            <input type="submit" value="提交"/>
        </div>

    </form>
</div>
</body>
</html>
